<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:h="http://java.sun.com/jsf/html"
   template="/templates/adminLayout.xhtml">
   
  <ui:define name="heading">
  	<ui:include src="/partials/top.xhtml"/>
  </ui:define>
  
  <ui:define name="menuLeft">
  	<ui:include src="/partials/menu.xhtml"/>
  </ui:define>
  
  <ui:define name="content"> 
     <h2>Formulario de Filmes</h2>
        <h:form id="formFilme">
        	Titulo:<BR></BR>
            <h:inputText id="titulo" value="#{filmeBean.titulo}"/><BR></BR>
            Descricao:<BR></BR>
            <h:inputTextarea id="descricao" value="#{filmeBean.descricao}"/>
            <h:commandButton id="submit" action="#{filmeBean.cadastrar}" value="Submit"/>
        </h:form>           
  </ui:define>
</ui:composition>



